﻿using System;
using System.Web.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Collections;

namespace gms.system {
	public abstract class Database<T> where T : new() {
		public T Select(string tableName, string[] columns = null, string[] whereKeys = null, string[] whereValues = null, string orderBy = null) {

		}
		public T Select(string tableName, string[] columns = null, string whereClause = null, string orderBy = null) {
			T retval = new T();
			DataSet data = new DataSet();


			FillObject(data);
		}

		public void FillObject(DataSet values) {
			throw new NotImplementedException("You must override the FillObject method in order for Select statements to work.");
		}
	}
}